<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
  <div th:inline="text">
    <p>Hello,[[${userName}]]</p>
    <br/>
  </div>
</body>
</html>
<script src="../../static/js/jquery.mCustomScrollbar.concat.min.js"></script>
<script type="text/javascript" th:inline="javascript">
  var msg = 'Hello '+[[${userName}]]+'!';
  alert(msg);
</script>